package com.woniu.woniuticket.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;


import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Lucas
 * @since 2020-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("show_session")
@AllArgsConstructor
@NoArgsConstructor
public class ShowSession implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 放映场次id
     */
    @TableId(value = "show_session_id", type = IdType.AUTO)
    private Integer showSessionId;

    /**
     * 电影id
     */
    private Integer movieId;

    /**
     * 放映时间
     */
    @JsonFormat(pattern="HH:mm",timezone = "GMT+8")
    private Date movieShowTime;


    //今天明天
    @JsonFormat(pattern="MM月dd日",timezone = "GMT+8")
    private Date movieShshTime;

    /**
     * 影厅id
     */
    private Integer movieHallId;

    /**
     * 票价
     */
    private BigDecimal orderPrice;




}
